package com.corffen.design.factory;

public class TestFactory {

    public static void main(String[] args) {
        MediaPlayer mediaPlayer = new NuMediaPlayerFactory().productMediaPlayer();
        mediaPlayer.play();

        mediaPlayer = new FlightMediaPlayerFactory().productMediaPlayer();
        mediaPlayer.play();
    }
}
